package school.repository;

import java.util.ArrayList;

import school.domain.Course;

public interface CourseDao {
	ArrayList<Course> getByCustomerId(int customerId) throws Exception;
	void dropOutFromCourse(int courseId, int customerId) throws Exception;
	void enroll(int groupId, int customerId, int staffId, int categoryCode) throws Exception;
	ArrayList<String> getCategories() throws Exception;
	ArrayList<Course> getByCustomerIdOrderByStaffName(int customerId) throws Exception;
}
